package biz;

import javax.servlet.http.HttpServletResponse;

import org.json.JSONArray;

import java.io.DataOutputStream;
import java.io.IOException;
import java.util.List;

import javax.servlet.http.HttpServlet;
import javax.servlet.http.HttpServletRequest;

public class SendMessage
{
	public static void sendMessageReturn(HttpServletResponse response,String messageReturn)
	{
		
		try
		{
			DataOutputStream output = new DataOutputStream(response.getOutputStream());
			System.out.println("sent:" + messageReturn);
			output.writeUTF(messageReturn);
			output.close();
		}
		catch (Exception e)
		{
			e.printStackTrace();
		}
	}
	
	
	
}
